package com.hzdh.account.repository.pay;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.hzdh.account.entity.pay.ToType;
@Mapper
public interface ToTypeMapper {
    int deleteByPrimaryKey(Long pkid);

    int insert(ToType record);

    int insertSelective(ToType record);

    ToType selectByPrimaryKey(Long pkid);

    int updateByPrimaryKeySelective(ToType record);

    int updateByPrimaryKey(ToType record);
    
    List<ToType> selectToTypeAll();
    
    ToType selectToTypeByCode(String typeCode);
}